package com.lrkj.smartservice.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 轮播列表对象 tm_slide_type
 *
 * @author yajun_ren
 * @date 2021-04-02
 */
public class SlideType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String slideTypeId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String slideTypeName;

    /** 分类编码 */
    @Excel(name = "分类编码")
    private String slideTypeNo;

    /** 轮播标识 */
    @Excel(name = "轮播标识")
    private String rotationLogo;

    /** 数据状态（0正常 1停用） */
    @Excel(name = "数据状态", readConverterExp = "0=正常,1=停用")
    private String statusCd;

    /** 创建者编码 */
    @Excel(name = "创建者编码")
    private String createByCode;

    /** 更新者编码 */
    @Excel(name = "更新者编码")
    private String updateByCode;

    public void setSlideTypeId(String slideTypeId)
    {
        this.slideTypeId = slideTypeId;
    }

    public String getSlideTypeId()
    {
        return slideTypeId;
    }
    public void setSlideTypeName(String slideTypeName)
    {
        this.slideTypeName = slideTypeName;
    }

    public String getSlideTypeName()
    {
        return slideTypeName;
    }
    public void setRotationLogo(String rotationLogo)
    {
        this.rotationLogo = rotationLogo;
    }

    public String getRotationLogo()
    {
        return rotationLogo;
    }
    public void setStatusCd(String statusCd)
    {
        this.statusCd = statusCd;
    }

    public String getStatusCd()
    {
        return statusCd;
    }
    public void setCreateByCode(String createByCode)
    {
        this.createByCode = createByCode;
    }

    public String getCreateByCode()
    {
        return createByCode;
    }
    public void setUpdateByCode(String updateByCode)
    {
        this.updateByCode = updateByCode;
    }

    public String getUpdateByCode()
    {
        return updateByCode;
    }

    public String getSlideTypeNo() {
        return slideTypeNo;
    }

    public void setSlideTypeNo(String slideTypeNo) {
        this.slideTypeNo = slideTypeNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("slideTypeId", getSlideTypeId())
            .append("slideTypeName", getSlideTypeName())
            .append("rotationLogo", getRotationLogo())
            .append("statusCd", getStatusCd())
            .append("createBy", getCreateBy())
            .append("createByCode", getCreateByCode())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateByCode", getUpdateByCode())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
